/*package main

import ("fmt"
"github.com/gin-gonic/gin"
)

func TestMW(c *gin.Context){
	c.String(200,"hello,%s","ghz")
}

func MyMiddleware1(c *gin.Context){
	fmt.Println("第一个中间件")
}

func MyMiddleware2(c *gin.Context){
	fmt.Println("第二个中间件")
}


func main() {
	e := gin.Default()
	e.Use(MyMiddleware1,MyMiddleware2)
	e.GET("testmw",TestMW)
	e.Run(":8090")
}